package com.zgc.entity;

import lombok.Data;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import java.time.LocalDateTime;
import java.util.List;
@Data
public class Menu {
    private Long id;
    private String name;
    private String url;
    private String icon;
    private String description;
    private Long parentId;
    private String parentIds;
    private Integer showOrder;
    private Integer enableFlag;
    @TableField(exist = false)
    private List<Menu> children;
    @TableField(fill= FieldFill.INSERT)
    private LocalDateTime createTime;
    @TableField(fill=FieldFill.INSERT_UPDATE)
    private LocalDateTime updateTime;
    @TableField(fill = FieldFill.INSERT)
    private Long createUser;
    @TableField(fill = FieldFill.INSERT_UPDATE)
    private Long updateUser;
}